<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of messageboard_status
 *  @version 0.1
 *  @author GHoogendoorn
 */
include_once FILE_DB_MESSAGEBOARD;

class Messageboard {
    private $db;
    private $name;
    private $desc;

    //put your code here
    public function Messageboard(){
        /* Init all modules */
        $msg_brd = new DbMessageboard();
    }

    public function getStatusList(){
        return $this->db->getList();
    }

    public function addStatus($name,$desc){
        return $this->db->save($name,$desc);
    }
}
?>
